package com.zcxy.edu.mapper;

import java.util.List;
import com.zcxy.edu.domain.EduTeacherSmsConfig;

/**
 * 短信配置Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-24
 */
public interface EduTeacherSmsConfigMapper
{
    /**
     * 查询短信配置
     *
     * @param id 短信配置主键
     * @return 短信配置
     */
    public EduTeacherSmsConfig selectEduTeacherSmsConfigById(Long id);

    /**
     * 查询短信配置列表
     *
     * @param eduTeacherSmsConfig 短信配置
     * @return 短信配置集合
     */
    public List<EduTeacherSmsConfig> selectEduTeacherSmsConfigList(EduTeacherSmsConfig eduTeacherSmsConfig);

    /**
     * 新增短信配置
     *
     * @param eduTeacherSmsConfig 短信配置
     * @return 结果
     */
    public int insertEduTeacherSmsConfig(EduTeacherSmsConfig eduTeacherSmsConfig);

    /**
     * 修改短信配置
     *
     * @param eduTeacherSmsConfig 短信配置
     * @return 结果
     */
    public int updateEduTeacherSmsConfig(EduTeacherSmsConfig eduTeacherSmsConfig);

    /**
     * 删除短信配置
     *
     * @param id 短信配置主键
     * @return 结果
     */
    public int deleteEduTeacherSmsConfigById(Long id);

    /**
     * 批量删除短信配置
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEduTeacherSmsConfigByIds(Long[] ids);

    /**
     * 根据类型获取配置短信
     * @param type
     * @return
     */
    public EduTeacherSmsConfig selectEduTeacherSmsConfigByType(String type);
}
